package com.podcstr.service.exception;

import javax.validation.ConstraintViolation;
import java.util.Set;

/**
 * @author azim
 * @since 12/5/13 
 */
public class ServiceException extends ApplicationException {
    public ServiceException() {
    }

    public ServiceException(String message) {
        super(message);
    }

    public ServiceException(String message, Throwable cause) {
        super(message, cause);
    }

    public ServiceException(Throwable cause) {
        super(cause);
    }

    //    public ServiceException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
//        super(message, cause, enableSuppression, writableStackTrace);
//    }
    public ServiceException(Set<ConstraintViolation<?>> violations) {
        super(violations);
    }

}
